package com.yunjijia.service;

import com.yunjijia.pojo.House;
import com.yunjijia.utils.PageResult;

import java.util.List;
import java.util.Map;

public interface HouseService {
    House selectByid(long id);

    void save(House house);

    void del(long id);

    void update(House house);

    List<House> selecrAll();

    PageResult search(int pageNum, int pageSize);

    PageResult requirementSearch(int pageNum, int pageSize, House house);

    List<Map> selectHouseCityList();

    List<Map> selectHouseBuiltList();

    List<Map> selectHouseCommunitynameList();

    List<Map> selectHousebedsList();

    List<Map> selectHouseAreaList();


}
